package edu.washington.tcss360.burningpenguins.data;

/**
 * A class to represent the Recommendation table in the DB.
 * 
 * @author Chris Gelatt
 * @version 1.0
 * @since 2013-11-13
 *
 */
public class Recommendation extends DataObject
{
	private Integer id;
	private Integer userId;
	private Integer paperId;
	private Integer recommendationRating;
	private String recommendationComments;
	
	public Recommendation()
	{
		super();
	}
	
	public Recommendation(Integer userId, Integer paperId, Integer recommendationRating, String recommendationComments)
	{
		super();
		setId(0);
		setUserId(userId);
		setPaperId(paperId);
		setRecommendationRating(recommendationRating);
		setRecommendationComments(recommendationComments);
	}
	
	public Integer getId()
	{
		return id;
	}
	
	public void setId(Integer id)
	{
		this.id = id;
	}

	public Integer getUserId()
	{
		return userId;
	}
	
	public void setUserId(Integer userId)
	{
		this.userId = userId;
	}

	public Integer getPaperId()
	{
		return paperId;
	}
	
	public void setPaperId(Integer paperId)
	{
		this.paperId = paperId;
	}
	
	public Integer getRecommendationRating()
	{
		return recommendationRating;
	}
	
	public void setRecommendationRating(Integer recommendationRating)
	{
		this.recommendationRating = recommendationRating;
	}
	
	public String setRecommendationComments()
	{
		return recommendationComments;
	}
	
	public void setRecommendationComments(String recommendationComments)
	{
		this.recommendationComments = recommendationComments;
	}
}
